x86/HVM: use available linear->phys translations in REP MOVS/STOS handling
authorJan Beulich <jbeulich@suse.com>
Tue, 14 Jun 2016 13:10:16 +0000 (15:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Jun 2016 13:10:16 +0000 (15:10 +0200)
commitbfa84968b2dd1612be73b36addccd3b2f5bda23f
tree202c0a9ebeaac3c40a351cc45e0011e0a8f3c02c
parent67fc274bbec51a99c762aa1fb6c3de661032aa8d
x86/HVM: use available linear->phys translations in REP MOVS/STOS handling

If we have the translation result available already, we should also use
is here. In my tests with Linux guests this eliminates all calls to
hvmemul_linear_to_phys() out of the two functions being changed.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/emulate.c